package com.crt.openapi.modules.common.domain.entity;

import com.crt.openapi.common.BaseEntity;


public class ApiOrg extends BaseEntity{
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	//公有组织的Id号
	public static final String publicOrg="0000AAAA";
	
    private String orgId;

    private String orgZhName;

    private String orgZhAbbreviation;

    private String orgCnName;

    private String orgCnAbbreviation;

    private String orgMailSuffix;

    private Integer orgSort;

    private String orgProperty;
    //组织状态
    private String orgStatus;
    private String   keyword;
    
    
    //baseEntity中存在delFlag,单不在表结构中
    
    public String getOrgStatus() {
		return orgStatus;
	}

	public void setOrgStatus(String orgStatus) {
		this.orgStatus = orgStatus;
	}

	//获取redis的key值为org_id:orgId
 	public String getKey(){
 		return 	"org_id:" + orgId;
 	}
    
	public String getOrgId() {
		return orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}

	public String getOrgZhName() {
		return orgZhName;
	}

	public void setOrgZhName(String orgZhName) {
		this.orgZhName = orgZhName;
	}

	public String getOrgZhAbbreviation() {
		return orgZhAbbreviation;
	}

	public void setOrgZhAbbreviation(String orgZhAbbreviation) {
		this.orgZhAbbreviation = orgZhAbbreviation;
	}

	public String getOrgCnName() {
		return orgCnName;
	}

	public void setOrgCnName(String orgCnName) {
		this.orgCnName = orgCnName;
	}

	public String getOrgCnAbbreviation() {
		return orgCnAbbreviation;
	}

	public void setOrgCnAbbreviation(String orgCnAbbreviation) {
		this.orgCnAbbreviation = orgCnAbbreviation;
	}

	public String getOrgMailSuffix() {
		return orgMailSuffix;
	}

	public void setOrgMailSuffix(String orgMailSuffix) {
		this.orgMailSuffix = orgMailSuffix;
	}

	public Integer getOrgSort() {
		return orgSort;
	}

	public void setOrgSort(Integer orgSort) {
		this.orgSort = orgSort;
	}

	public String getOrgProperty() {
		return orgProperty;
	}

	public void setOrgProperty(String orgProperty) {
		this.orgProperty = orgProperty;
	}

	@Override
	public String toString() {
		return "ApiOrg [orgId=" + orgId + ", orgZhName=" + orgZhName
				+ ", orgZhAbbreviation=" + orgZhAbbreviation + ", orgCnName="
				+ orgCnName + ", orgCnAbbreviation=" + orgCnAbbreviation
				+ ", orgMailSuffix=" + orgMailSuffix + ", orgSort=" + orgSort
				+ ", orgProperty=" + orgProperty + ", toString()="
				+ super.toString() + "]";
	}

	public String getKeyword() {
		return keyword;
	}

	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}
	
}